<?php
/**
 * System_Model_UserMenu
 *
 * @author mmxie
 * @copyright Copyright (c) 2009 Green Shore (http://www.iwgame.com)
 * @version $Id: UserMenu.php 906 2011-10-20 02:38:33Z mmxie $
 */
class System_Model_UserMenu extends IG_Model
{

    protected $_data = array(
        'id' => null,
        'parent_id' => null,
        'position' => null,
        'title' => null,
        'type' => null,
        'url' => null,
        'employee_id' => null,
    );



    /**
     * @param int $value
     * @return System_Model_UserMenu
     */
    public function setId($value)
    {
        $this->id = (int) $value;
        return $this;
    }

    public function getId()
    {
        return $this->id;
    }

    /**
     * @param int $value
     * @return System_Model_UserMenu
     */
    public function setParentId($value)
    {
        $this->parent_id = (int) $value;
        return $this;
    }

    public function getParentId()
    {
        return $this->parent_id;
    }

    /**
     * @param int $value
     * @return System_Model_UserMenu
     */
    public function setPosition($value)
    {
        $this->position = (int) $value;
        return $this;
    }

    public function getPosition()
    {
        return $this->position;
    }

    /**
     * @param string $value
     * @return System_Model_UserMenu
     */
    public function setTitle($value)
    {
        $this->title =  $value;
        return $this;
    }

    public function getTitle()
    {
        return $this->title;
    }

    /**
     * @param string $value
     * @return System_Model_UserMenu
     */
    public function setType($value)
    {
        $this->type =  $value;
        return $this;
    }

    public function getType()
    {
        return $this->type;
    }

    /**
     * @param string $value
     * @return System_Model_UserMenu
     */
    public function setUrl($value)
    {
        $this->url =  $value;
        return $this;
    }

    public function getUrl()
    {
        return $this->url;
    }

    /**
     * @param int $value
     * @return System_Model_UserMenu
     */
    public function setEmployeeId($value)
    {
        $this->employee_id = (int) $value;
        return $this;
    }

    public function getEmployeeId()
    {
        return $this->employee_id;
    }

}